package com.spsoft.vatoutinv.model.dto.vmshzqrdmanage;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 红字确认单审批流-明细信息对象
 *
 * @author : chenxudong
 * @date : 2024/1/5 10:27
 */
@Data
@ApiModel(value = "红字确认单审批流-明细信息对象")
@EqualsAndHashCode
@Accessors(chain = true)
public class VmsApprovalHzqrdItemDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 蓝字发票明细id
     */
    @ApiModelProperty(value = "蓝字发票明细id")
    @NotNull(message = "蓝字发票明细id不能为空")
    private Long id;

    /**
     * 可冲销数量
     */
    @ApiModelProperty(value = "可冲销数量")
    private BigDecimal kcxsl;

    /**
     * 可冲销金额
     */
    @ApiModelProperty(value = "可冲销金额")
    @NotNull(message = "可冲销金额不能为空")
    private BigDecimal kcxje;

    /**
     * 可冲销税额
     */
    @ApiModelProperty(value = "可冲销税额")
    @NotNull(message = "可冲销税额不能为空")
    private BigDecimal kcxse;

    /**
     * 冲销数量
     */
    @ApiModelProperty(value = "冲销数量")
    private BigDecimal cxsl;

    /**
     * 冲销金额
     */
    @ApiModelProperty(value = "冲销金额")
    @NotNull(message = "冲销金额不能为空")
    private BigDecimal cxje;

    /**
     * 冲销税额
     */
    @ApiModelProperty(value = "冲销税额")
    @NotNull(message = "冲销税额不能为空")
    private BigDecimal cxse;

}
